package com.csii.adhoc.dataready.service;

import com.csii.adhoc.dataready.TDataNickName;
import com.csii.adhoc.dataready.TDataParamPo;

import java.util.List;
import java.util.Map;

/**
 * @description: 数据集接口类
 * @author: zyliu
 * @create: 2021-01-13 09:32
 */
public interface TDataParamService {

    void insertOneTDataParam(TDataParamPo tDataParamPo);

    int updateTDataParamByPrimaryKey(TDataParamPo tDataParamPo);

    int deleteByModelId(String modelId);

    int deleteBySeqno(String modelId,int seqno);

    List<TDataParamPo> selectListTDataParam(String modelId);

    TDataParamPo selectByPrimaryKey(String modelId);

    void tDataParamMaintain(TDataParamPo tDataParamPo, String optMode);

    /**
     * 保存别名
     * @param tDataNickName
     */
    void saveNickName(TDataNickName tDataNickName);

    /**
     * 查询存在的别名
     * @param tDataNickName
     * @return
     */
    List<TDataNickName> queryExistNickName(TDataNickName tDataNickName);

    /**
     * 修改
     * @param tDataNickName
     * @return
     */
    void updateNickNameInfo(TDataNickName tDataNickName);



}
